﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<nelech.Models.DBModel.CategoryCount>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    נלך- פורומים
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% Html.RenderPartial("ForumSearchControl"); %>
    <div id="left">

  <%Html.RenderAction("AdvertShowThree", "Advert", new { id = 7 });%>
  
</div>
<div id="main">
     <h2>
        רשימת פורומים</h2>
   
        <% foreach (var item in Model)
           { %>
      
            <fieldset>
                <legend>
                    <%= Html.Encode(item.category.title) %></legend>
                    
                <%= Html.Encode(item.category.description) %>
         
                <%= Html.ActionLink("לדיון", "ListResponseOfCategory", new { id = item.category.id} , null)%>
            </fieldset>
            <% } %>
   </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="publishTop" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Right" runat="server">
</asp:Content>
